package com.youxin.cpcenter.model;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonInclude( JsonInclude.Include.NON_NULL)
public class TbEntConsume{
    /**  */
    private Long id;

    private Long entIdentifyId;
    
    private Long entMemberId;
    
    /** 主叫用户名称 */
    @JsonProperty("caller_user_phone")
    private String callerUserPhone;    
    /** 被叫用户名称 */    
    @JsonProperty("called_user_phone")
    private String calledUserPhone;

    /** 中间号主键 */
    @JsonProperty("middle_phone_id")
    private Long middlePhoneId;

    /** 消费类型：1:手机联系 2:短信转发 3:固定电话 4:企业转线索 5:商务委托 6:查看微信 7:查看QQ */
    @JsonProperty("consume_type")
    private Integer consumeType;

    /** 主叫用户id */
    @JsonProperty("caller_user_id")
    private Long callerUserId;

    /** 主叫用户名 */
    @JsonProperty("caller_user_name")
    private String callerUserName;

    /** 被叫用户id */
    @JsonProperty("called_user_id")
    private Long calledUserId;

    /** 被叫用户id */
    @JsonProperty("called_user_name")
    private String calledUserName;

    /** 公司id */
    @JsonProperty("company_uid")
    private String companyUid;
    
    public String getCallerUserPhone() {
		return callerUserPhone;
	}

	public void setCallerUserPhone(String callerUserPhone) {
		this.callerUserPhone = callerUserPhone;
	}

	public String getCalledUserPhone() {
		return calledUserPhone;
	}

	public void setCalledUserPhone(String calledUserPhone) {
		this.calledUserPhone = calledUserPhone;
	}

	/** 公司名称 */
    @JsonProperty("company_full_name")
    private String companyFullName;
    
    /** 公司名称 简称 */
    @JsonProperty("company_short_name")
    private String companyShortName;

    /** 单价 */
    @JsonProperty("unit_price")
    private BigDecimal unitPrice;

    /** 消费金额 */
    @JsonProperty("consume_amount")
    private BigDecimal consumeAmount;

    /** 消费数量 */
    @JsonProperty("count_num")
    private String countNum;

    /** 添加日期 */
    @JsonProperty("add_time")
    private Long addTime;

    /** json描述 */
    private String desc;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getEntIdentifyId() {
		return entIdentifyId;
	}

	public void setEntIdentifyId(Long entIdentifyId) {
		this.entIdentifyId = entIdentifyId;
	}

	public Long getEntMemberId() {
        return entMemberId;
    }

    public void setEntMemberId(Long entMemberId) {
        this.entMemberId = entMemberId;
    }

    public Long getMiddlePhoneId() {
        return middlePhoneId;
    }

    public void setMiddlePhoneId(Long middlePhoneId) {
        this.middlePhoneId = middlePhoneId;
    }

    public Integer getConsumeType() {
        return consumeType;
    }

    public void setConsumeType(Integer consumeType) {
        this.consumeType = consumeType;
    }

    public Long getCallerUserId() {
        return callerUserId;
    }

    public void setCallerUserId(Long callerUserId) {
        this.callerUserId = callerUserId;
    }

    public String getCallerUserName() {
        return callerUserName;
    }

    public void setCallerUserName(String callerUserName) {
        this.callerUserName = callerUserName;
    }

    public Long getCalledUserId() {
        return calledUserId;
    }

    public void setCalledUserId(Long calledUserId) {
        this.calledUserId = calledUserId;
    }

    public String getCalledUserName() {
        return calledUserName;
    }

    public void setCalledUserName(String calledUserName) {
        this.calledUserName = calledUserName == null ? null : calledUserName.trim();
    }

    public String getCompanyUid() {
        return companyUid;
    }

    public void setCompanyUid(String companyUid) {
        this.companyUid = companyUid == null ? null : companyUid.trim();
    }


    public String getCompanyFullName() {
		return companyFullName;
	}

	public void setCompanyFullName(String companyFullName) {
		this.companyFullName = companyFullName;
	}

	public String getCompanyShortName() {
		return companyShortName;
	}

	public void setCompanyShortName(String companyShortName) {
		this.companyShortName = companyShortName;
	}


    public BigDecimal getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

    public BigDecimal getConsumeAmount() {
		return consumeAmount;
	}

	public void setConsumeAmount(BigDecimal consumeAmount) {
		this.consumeAmount = consumeAmount;
	}

	public String getCountNum() {
        return countNum;
    }

    public void setCountNum(String countNum) {
        this.countNum = countNum == null ? null : countNum.trim();
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc == null ? null : desc.trim();
    }
}